package l2hc.gameserver.model.base;

public enum ClassType
{
	Fighter,
	Mystic,
	Priest;

	  public static final ClassType[] VALUES;
	  public static final ClassType[] MAIN_TYPES;

	  public static ClassType[] getMainTypes() { return new ClassType[] { Fighter, Mystic };
	  }

	  public ClassType getMainType()
	  {
	    if (this == Priest)
	      return Mystic;
	    return this;
	  }

	  public boolean isMagician()
	  {
	    return this != Fighter;
	  }

	  static
	  {
	    VALUES = values();
	    MAIN_TYPES = getMainTypes();
	  }


	}